package com.situ.spring.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.situ.spring.dao.IBanjiDao;
import com.situ.spring.entity.Banji;
import com.situ.spring.service.IBanjiService;

@Service
public class BanjiServiceImpl implements IBanjiService{
	
	@Autowired
	private IBanjiDao banjiDao;

	@Override
	public List<Banji> findAll() {
		System.out.println("BanjiServiceImpl.findAll()");
		return banjiDao.findAll();
	}

}
